package cn.sendto.rowmapper.impl;

import java.sql.ResultSet;
import java.sql.SQLException;

import cn.sendto.model.ParkInfoModel;
import cn.sendto.rowmapper.IRowMapper;

public class ParkInfoMapper implements IRowMapper<ParkInfoModel>{

	@Override
	public ParkInfoModel rowMapper(ResultSet rs) throws SQLException {
		ParkInfoModel pim = new ParkInfoModel();
		pim.setClassId(rs.getInt("classid"));
		pim.setClassName(rs.getString("classname"));
		pim.setClassStatus(rs.getString("classstatus"));
		pim.setSeatNumber(rs.getInt("seatnumber"));
		pim.setJssm(rs.getString("jssm"));
		return pim;
	}

}
